//
//  SelectCarTypeTableViewCell.m
//  OCUI
//
//  Created by login on 15-8-7.
//
//

#import "SelectCarTypeTableViewCell.h"

@implementation SelectCarTypeTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        CGFloat widthAndHeight = 20;
        CGFloat egde = (CGRectGetHeight(self.frame) - widthAndHeight)/2;
        CGRect main = [UIScreen mainScreen].bounds;
        
        self.labelText = [[UILabel alloc]initWithFrame:CGRectMake(widthAndHeight, egde, 200, widthAndHeight)];
        self.labelText.textAlignment = NSTextAlignmentLeft;
        self.labelText.textColor = [UIColor blackColor];
        [self.contentView addSubview:self.labelText];
        
        self.checkView = [[UIImageView alloc]initWithFrame:CGRectMake(main.size.width - widthAndHeight - widthAndHeight, egde, widthAndHeight, widthAndHeight)];
        [self.contentView addSubview:self.checkView];
        
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
